/**
 * 地址模型
 */
class Address extends CommonModels {
    tableFields() {
        return {
            "name": {
                "label": "名称",
                "type": "varchar(255)"
            },
            "pid": {
                "label": "父级ID",
                "type": "int(10)"
            }
        }
    }

    rules() {
        return {

        }
    }

    tableName() {
        return '{{%address}}';
    }

}

export default Address;